jQuery.extend(jQuery.validator.messages, {
    required: "必选字段",
    remote: "请修正该字段",
    email: "请输入正确格式的电子邮件",
    url: "请输入合法的网址",
    date: "请输入合法的日期",
    dateISO: "请输入合法的日期 (ISO).",
    number: "请输入合法的数字",
    digits: "只能输入整数",
    creditcard: "请输入合法的信用卡号",
    equalTo: "请再次输入相同的值",
    accept: "请输入拥有合法后缀名的字符串",
    maxlength: jQuery.validator.format("请输入一个长度最多是 {0} 的字符串"),
    minlength: jQuery.validator.format("请输入一个长度最少是 {0} 的字符串"),
    rangeLength: jQuery.validator.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
    range: jQuery.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),
    max: jQuery.validator.format("请输入一个最大为 {0} 的值"),
    min: jQuery.validator.format("请输入一个最小为 {0} 的值"),
    character:"请输入字符或者数字"
});


$.datepicker.regional["zh-CN"]={
    closeText:"\u5173\u95ed",
    prevText:"&#x3c;\u4e0a\u6708",
    nextText:"\u4e0b\u6708&#x3e;",
    currentText:"\u4eca\u5929",
    monthNames:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],
    monthNamesShort:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],
    dayNames:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],
    dayNamesShort:["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],
    dayNamesMin:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],
    weekHeader:"\u5468",
    dateFormat:"yy-mm-dd",
    firstDay:1,
    isRTL:false,
    showMonthAfterYear:true,
    yearSuffix:"\u5e74"
};
$.datepicker.setDefaults( $.datepicker.regional[ "zh-CN" ] );
$.datepicker.setDefaults({showButtonPanel:true,changeMonth: true,changeYear: true,showWeek: true,firstDay: 1});

var Language = {};
Language.messages = {
    selectGridItem: '请选择要操作的数据',
    confirmDelete: '数据删除后不能回复，确定删除吗？'
};
Language.buttons = {
    submit: '提交',
    cancel: '取消',
    remove: '删除'
};
